[IA64] Add not-SMP-safe comment about PV-on-HVM
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 17 Oct 2006 20:30:36 +0000 (14:30 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 17 Oct 2006 20:30:36 +0000 (14:30 -0600)
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
xen/arch/ia64/xen/mm.c
xen/arch/ia64/xen/vhpt.c

index ec2b1da969f58aeb1bc17406a2b8bace36cfa33a..eed8a40be3849b227493497395791bf2fa53198a 100644 (file)
@@ -400,6 +400,7 @@ gmfn_to_mfn_foreign(struct domain *d, unsigned long gpfn)
 
        // This function may be called from __gnttab_copy()
        // during destruction of VT-i domain with PV-on-HVM driver.
+       // ** FIXME: This is not SMP-safe yet about p2m table. **
        if (unlikely(d->arch.mm.pgd == NULL)) {
                if (VMX_DOMAIN(d->vcpu[0]))
                        return INVALID_MFN;
index ecc7269a6918f244a3417115170eea9b1a2994e9..56b63b5159e5b01ec5d21d53bf776c82d075df0d 100644 (file)
@@ -228,6 +228,7 @@ void vcpu_flush_vtlb_all(struct vcpu *v)
                   grant_table share page from guest_physmap_remove_page()
                   in arch_memory_op() XENMEM_add_to_physmap to realize
                   PV-on-HVM feature. */
+               /* FIXME: This is not SMP-safe yet about p2m table */
                /* Purge vTLB for VT-i domain */
                thash_purge_all(v);
        }